import http from '../utils/http'
// 
/**
 *  @parms resquest 请求地址 例如：http://197.82.15.15:8088/request/...
 *  @param '/testIp'代表vue-cil中config，index.js中配置的代理
 */

// get请求
const doctorLoginApi = {
    // /wx/v1/collagePayer/info
	isOpenId(params) {
		return http.get('/wx/v1/user/relation', params)
	},
    getOpenId(params) {
		return http.get('/wx/v1/authJs/getOpenId', params)
	},
    bindOpenid(params) {
		return http.post("/wx/v1/user/hFiveBinding",params)
	},
	login(params) {
		return http.post("/wx/v1/user/login",params)
	},

}
export default doctorLoginApi
